import Vue from 'vue'
import App from './App'
import uView from '@/uni_modules/uview-ui'
import tool from '@/utils/tool.js'
Vue.use(uView)
import store from './store'

import * as filters from '@/utils/filters.js' 
Object.keys(filters).forEach(key => {
	Vue.filter(key, filters[key])
})

Vue.config.productionTip = false

Vue.prototype.$store = store;
Vue.prototype.$api = tool;
App.mpType = 'app'

const app = new Vue({
    ...App
})
app.$mount()